Skip to content

Add gh auth dev diagnostics#268

Merged
codeforester merged 1 commit into
masterfrom
enhancement/262-20260529-gh-auth-dev-doctor
May 29, 2026
Merged

Add gh auth dev diagnostics#268
codeforester merged 1 commit into
masterfrom
enhancement/262-20260529-gh-auth-dev-doctor

Conversation

@codeforester
Copy link
Copy Markdown
Owner

Summary

  • Add a gh-auth developer prerequisite check after the gh tool is installed.
  • Report gh auth login -h github.com as the fix when the local GitHub CLI token is missing or invalid.
  • Include the auth check in both text and JSON base_dev check/doctor output.

Validation

HOME=/private/tmp/base-review-home PYTHONPATH=lib/python:cli/python /Users/rameshhp/.base.d/base/.venv/bin/python -m pytest cli/python/base_dev/tests/test_engine.py
HOME=/private/tmp/base-review-home PYTHONPATH=lib/python:cli/python /Users/rameshhp/.base.d/base/.venv/bin/python -m pytest
HOME=/private/tmp/base-review-home bats cli/bash/commands/basectl/tests/setup.bats cli/bash/commands/basectl/tests/basectl.bats
git diff --check

Closes #262

@codeforester codeforester merged commit f1c59e0 into master May 29, 2026
14 checks passed
@codeforester codeforester deleted the enhancement/262-20260529-gh-auth-dev-doctor branch May 29, 2026 10:44
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Add GitHub CLI authentication diagnostics to basectl doctor --dev

1 participant